import {
  Component,
  Input,
  OnInit
} from '@angular/core';
import {NgClass} from '@angular/common';

@Component({
  selector: 'app-table',
  templateUrl: './table.html',
  imports: [
    NgClass
  ],
  styleUrl: './table.css'
})
export class Table implements  OnInit {
  @Input() classNames = '';

  @Input() data : any[] | undefined;
  @Input() headers : any[] | undefined;

  constructor() {
  }
  ngOnInit() {
  }
}
